﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin1.master" AutoEventWireup="true" CodeFile="Votes.aspx.cs" Inherits="admin_Pages_Votes" %>
<%@ Import Namespace="CoyoEden" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphAdmin" Runat="Server">
	<div id="toolsWrapper" style="display:none;">
		<input type="hidden" id="txtUser" value="<%=Page.User.Identity.Name %>" name="user"/>
		<span id="ddlCategoryWrapper0">
			<asp:DropDownList ID="ddlCategory" width="200" runat="server"/>
		</span>
		<div id="editBox"></div>
		<div id="postsSelector" style="display:none;" title="添加新闻投票项">
			<fieldset>
				<label for="ddlCategoryWrapper">新闻分类</label>
				<span id="ddlCategoryWrapper"></span><br />
				<label for="txtDateRange">日期范围</label>
				<input type="text" id="txtDateRange" name="VPostDateRange" size="27" readonly="readonly"/>
				<input type="button" id="btnSearch" value="查 询" onclick="Vote.FindPostsForVote({});return false;"/>
				<div class="formspacer"></div>
				<div id="voteItemCandidateWrapper"></div>	
			</fieldset>
			<div class="funboxWrapper">
				<div class="funbox">
					<input type="button" id="btnAddPostsToVote" value="添 加" onclick="Vote.AddVoteItem({});return false;"/>
				</div>
			</div>
		</div>
	</div>
  <table id="flexigridVote" style="display:none;"></table>
  <script type="text/javascript">
		<!--
  	$(document).ready(function() {
  		Vote.Init({
  			Asmx: '<%=Utils.AbsoluteWebRoot.ToString()+"App_Services/Vote.asmx/" %>',
  			FlexigridID: "flexigridVote",
  			WebRoot:'<%=Utils.AbsoluteWebRoot.ToString() %>'
  		});
  	});
		//-->
  </script>
</asp:Content>

